package com.basic.hellorabbit.entity;

import lombok.Data;
/**
* @Description:    老师类
* @Author:         Joe
* @CreateDate:     2020/3/20 15:09
*/
@Data
public class Teacher {

    private Integer id;
    private String name;
    private Integer age;
    private String sex;
    private String subject;

    public Teacher() {
    }

    public Teacher(Integer id, String name, Integer age, String sex, String subject) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.subject = subject;
    }
}
